import Layout from '@/layout'

const financeRouter = {
  path: '/finance',
  name: 'finance-group',
  component: Layout,
  meta: { title: '财务管理', icon: 'tree', roles: ['m7900'] },
  children: [
    {
      path: 'order',
      component: (resolve) => require(['@/views/finance-group/order-manage/index'], resolve),
      name: 'OrderManage',
      remoteParam: { serviceName: 'warehouse', path: '/api/order-info' },
      remoteUrl: '',
      meta: { title: '采购入库单', roles: ['m7910'] }
    }
  ]
}

export default financeRouter
